package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealMapper {

    void setmealIdAndCheckgroupId(Map<String, Integer> map);

    void add(Setmeal setmeal);

    Page<Setmeal> findPage(String queryString);

    Setmeal findById(Integer setmealId);

    List<Integer> findcheckgroupIdsBysetmealId(Integer setmealId);

    void edit(Setmeal setmeal);

    void deleteBysetmealId(Integer id);

    void delete(Integer setmealId);

    List<Setmeal> getAllSetmeal();

    Setmeal findOne(Integer setmealId);

    List<Map<String,Object>> findSetmealCount();
}
